﻿using System;
using System.Collections.Generic;
using System.Text;

namespace S5230WallpaperCreator
{
    public class LanguageDef
    {
        /// <summary>
        /// Gets or sets the name.
        /// </summary>
        /// <value>The name.</value>
        public string Name { get; set; }
        /// <summary>
        /// Gets or sets the locale.
        /// </summary>
        /// <value>The locale.</value>
        public string Locale { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="LanguageDef"/> class.
        /// </summary>
        /// <param name="name">The name.</param>
        /// <param name="locale">The locale.</param>
        public LanguageDef(string name, string locale)
        {
            this.Name = name;
            this.Locale = locale;
        }

        /// <summary>
        /// Returns a <see cref="System.String"/> that represents this instance.
        /// </summary>
        /// <returns>
        /// A <see cref="System.String"/> that represents this instance.
        /// </returns>
        public override string ToString()
        {
            return this.Name;
        }
    }
}
